package com.hades.xq.miaoshao.service;

import com.hades.xq.miaoshao.error.BusinessException;
import com.hades.xq.miaoshao.service.model.UserModel;

public interface UserService {

    UserModel getUserById(Integer userId);

    void reginster(UserModel userModel) throws BusinessException;

    UserModel validateLogin(String telphpne, String encrptPassword) throws BusinessException;

}
